/*
 * StaticLogFactory.h
 *
 *  Created on: Mar 6, 2013
 *      Author: loadar
 */

#ifndef STATICLOGFACTORY_H_
#define STATICLOGFACTORY_H_

#include <iostream>

namespace staticmember
{

	class IStaticLog
	{
	public:
		typedef IStaticLog* (*pCreateStaticLog)();
		virtual ~IStaticLog()=0;
		virtual void printLog(std::string message)=0;
	};

	class StaticLogFactory
	{
	public:
		StaticLogFactory();
		virtual ~StaticLogFactory();

		IStaticLog* newStaticLogInstance();
	};

} /* namespace staticmember */
#endif /* STATICLOGFACTORY_H_ */
